.dish-detail {
  background-color: #f8f8f8;
  min-height: 100vh;
  
  &-loading, &-error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 300px;
    color: #999;
    font-size: 28px;
    
    .back-button {
      margin-top: 30px;
      background-color: #f8f8f8;
      color: #666;
      border: 1px solid #ddd;
    }
  }
  
  .dish-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
  }
  
  .dish-info {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 16px;
    
    .dish-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      
      .dish-name {
        font-size: 36px;
        font-weight: bold;
        color: #333;
      }
      
      .dish-price {
        font-size: 36px;
        font-weight: bold;
        color: #ff6b00;
      }
    }
    
    .dish-rating-summary {
      display: flex;
      align-items: center;
      margin-bottom: 16px;
      
      .rating-value {
        font-size: 30px;
        font-weight: bold;
        color: #ff9800;
        margin-right: 8px;
      }
      
      .rating-count {
        font-size: 26px;
        color: #999;
      }
    }
    
    .dish-description {
      font-size: 28px;
      color: #666;
      line-height: 1.6;
      margin-bottom: 16px;
    }
    
    .dish-category {
      display: flex;
      align-items: center;
      
      .category-label {
        font-size: 26px;
        color: #999;
        margin-right: 8px;
      }
      
      .category-value {
        font-size: 26px;
        color: #666;
        background-color: #f0f0f0;
        padding: 4px 12px;
        border-radius: 16px;
      }
    }
  }
  
  .quantity-selector {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    .selector-label {
      font-size: 28px;
      color: #333;
    }
    
    .selector-controls {
      display: flex;
      align-items: center;
      
      .control-button {
        width: 60px;
        height: 60px;
        line-height: 60px;
        text-align: center;
        font-size: 36px;
        font-weight: bold;
        color: #333;
        background-color: #f0f0f0;
        border-radius: 30px;
        padding: 0;
        
        &.minus {
          color: #999;
        }
        
        &.plus {
          color: #ff6b00;
        }
        
        &[disabled] {
          color: #ccc;
          background-color: #f8f8f8;
        }
      }
      
      .quantity-value {
        font-size: 32px;
        color: #333;
        width: 80px;
        text-align: center;
      }
    }
  }
  
  .dish-ratings {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 100px; // 为底部操作栏留出空间
  }
  
  .bottom-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    height: 100px;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    
    .share-button, .add-to-cart-button {
      height: 100%;
      border-radius: 0;
      line-height: 100px;
      font-size: 32px;
    }
    
    .share-button {
      flex: 1;
      background-color: #fff;
      color: #666;
    }
    
    .add-to-cart-button {
      flex: 2;
      background-color: #ff6b00;
      color: #fff;
      
      &[disabled] {
        background-color: #ccc;
      }
    }
  }
  
  .offline-warning {
    position: fixed;
    bottom: 100px; // 在底部操作栏上方
    left: 0;
    right: 0;
    background-color: rgba(255, 59, 48, 0.9);
    padding: 12px;
    text-align: center;
    
    text {
      font-size: 24px;
      color: #fff;
    }
  }
} 